#ifndef FEEDBACKWIDGET_H
#define FEEDBACKWIDGET_H

#include <windowsx.h>
#include <windows.h>
#include <QDialog>
#include <QWidget>

namespace Ui {
class FeedBackWidget;
}

class FeedBackWidget : public QDialog
{
    Q_OBJECT

public:
    explicit FeedBackWidget(QWidget *parent = nullptr);
    ~FeedBackWidget();
//    bool nativeEvent(const QByteArray &eventType, void *message, long *result) override;

    void updateUi();
private slots:
    void on_pushButton_clicked();

    void on_pushButton_2_clicked();

signals:
    void showSubmitmsg();

private:
    Ui::FeedBackWidget *ui;

    // 去掉系统边框自定义边框
    int boundaryWidth=4;
    // 鼠标点击的位置，用于计算移动窗口
    QPoint clickPoint;
};

#endif // FEEDBACKWIDGET_H
